﻿/**
 * ...
 * @author 
 */

package client;

class ReceivedItem extends Item
{
	private var sender : String;
	private var message_id : Int;
	private var isRed : String;

	public function new(id : UInt, name: String, link : String, link_img : String, chanId : UInt, descr: String, date : String, author: String, sender : String,message_id : Int, isRed : String) 
	{
		super(id, name, link, link_img, chanId, descr, date, author);
		this.sender = sender;
		this.message_id = message_id;
		this.isRed = isRed;
	}
	
	public function getSender() : String {
		return sender;
	}
	
	public function getMessageID() : Int {
		return message_id;
	}
	
	public function is_red() : String {
		return isRed;
	}
}